ABC359D - Avoid K Palindrome